package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 客房信息
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-02-11 16:51:08
 */
@TableName("kefangxinxi")
public class KefangxinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;

	public String getZhuangtai() {
		return zhuangtai;
	}

	public void setZhuangtai(String zhuangtai) {
		this.zhuangtai = zhuangtai;
	}

	private String  zhuangtai;
	public KefangxinxiEntity() {
		
	}
	
	public KefangxinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;


	public String getWangluo() {
		return wangluo;
	}

	public void setWangluo(String wangluo) {
		this.wangluo = wangluo;
	}

	public String getLouceng() {
		return louceng;
	}

	public void setLouceng(String louceng) {
		this.louceng = louceng;
	}

	public String getRoomNumber() {
		return roomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}

	/**
	 * 客房号
	 */
					
	private String roomNumber;

	private  String wangluo;
	private String louceng;


	public String getKinds() {
		return kinds;
	}

	public void setKinds(String kinds) {
		this.kinds = kinds;
	}

	/**
	 * 客房分类
	 */
					
	private String kinds;
	private Integer kezhurenshu;
	private String chicun;

//	public String getXiyuyongpin() {
//		return xiyuyongpin;
//	}

//	public void setXiyuyongpin(String xiyuyongpin) {
//		this.xiyuyongpin = xiyuyongpin;
//	}

//	private String xiyuyongpin;



	public String getChicun() {
		return chicun;
	}

	public void setChicun(String chicun) {
		this.chicun = chicun;
	}

	public Integer getKezhurenshu() {
		return kezhurenshu;
	}

	public void setKezhurenshu(Integer kezhurenshu) {
		this.kezhurenshu = kezhurenshu;
	}

//	private String zaocan;

//	public String getZaocan() {
//		return zaocan;
//	}

//	public void setZaocan(String zaocan) {
//		this.zaocan = zaocan;
//	}

	/**
	 * 封面
	 */
					
	private String fengmian;
	
	/**
	 * 客房面积
	 */
					
	private String kefangmianji;
	
	/**
	 * 价格
	 */
					
//	private Float jiage;
	
	/**
	 * 定金
	 */
					
//	private Float dingjin;
	
	/**
	 * 状态
	 */
					
//	private String zhuangtai;

//	public String getYushiyongpin() {
//		return yushiyongpin;
//	}

//	public void setYushiyongpin(String yushiyongpin) {
//		this.yushiyongpin = yushiyongpin;
//	}

	/**
	 * 客房用品
	 */
					
//	private String yushiyongpin;
	
	/**
	 * 客房介绍
	 */
					
	private String kefangjieshao;

	private String fangjiansheshi;

	public String getFangjiansheshi() {
		return fangjiansheshi;
	}

	public void setFangjiansheshi(String fangjiansheshi) {
		this.fangjiansheshi = fangjiansheshi;
	}
	//	private String dingfangbidu;

//	public String getDingfangbidu() {
//		return dingfangbidu;
//	}

//	public void setDingfangbidu(String dingfangbidu) {
//		this.dingfangbidu = dingfangbidu;
//	}

	/**
	 * 收银账号
	 */
					
//	private String shouyinzhanghao;
	
	/**
	 * 收银姓名
	 */
					
//	private String shouyinxingming;
	
	/**
	 * 最近点击时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date clicktime;
	
	/**
	 * 点击次数
	 */
					
	private Integer clicknum;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
//	/**
//	 * 设置：客房号
//	 */
//	public void setKefanghao(String kefanghao) {
//		this.kefanghao = kefanghao;
//	}
//	/**
//	 * 获取：客房号
//	 */
//	public String getKefanghao() {
//		return kefanghao;
//	}
//	/**
//	 * 设置：客房分类
//	 */
//	public void setKefangfenlei(String kefangfenlei) {
//		this.kefangfenlei = kefangfenlei;
//	}
//	/**
//	 * 获取：客房分类
//	 */
//	public String getKefangfenlei() {
//		return kefangfenlei;
//	}
	/**
	 * 设置：封面
	 */
	public void setFengmian(String fengmian) {
		this.fengmian = fengmian;
	}
	/**
	 * 获取：封面
	 */
	public String getFengmian() {
		return fengmian;
	}
	/**
	 * 设置：客房面积
	 */
	public void setKefangmianji(String kefangmianji) {
		this.kefangmianji = kefangmianji;
	}
	/**
	 * 获取：客房面积
	 */
	public String getKefangmianji() {
		return kefangmianji;
	}
	/**
	 * 设置：价格
	 */
//	public void setJiage(Float jiage) {
//		this.jiage = jiage;
//	}
	/**
	 * 获取：价格
	 */
//	public Float getJiage() {
//		return jiage;
//	}
	/**
	 * 设置：定金
	 */
//	public void setDingjin(Float dingjin) {
//		this.dingjin = dingjin;
//	}
	/**
	 * 获取：定金
	 */
//	public Float getDingjin() {
//		return dingjin;
//	}
//	/**
//	 * 设置：状态
//	 */
//	public void setZhuangtai(String zhuangtai) {
//		this.zhuangtai = zhuangtai;
//	}
//	/**
//	 * 获取：状态
//	 */
//	public String getZhuangtai() {
//		return zhuangtai;
//	}

	/**
	 * 设置：客房介绍
	 */
	public void setKefangjieshao(String kefangjieshao) {
		this.kefangjieshao = kefangjieshao;
	}
	/**
	 * 获取：客房介绍
	 */
	public String getKefangjieshao() {
		return kefangjieshao;
	}
	/**
	 * 设置：收银账号
	 */
//	public void setShouyinzhanghao(String shouyinzhanghao) {
//		this.shouyinzhanghao = shouyinzhanghao;
//	}
	/**
	 * 获取：收银账号
	 */
//	public String getShouyinzhanghao() {
//		return shouyinzhanghao;
//	}
	/**
	 * 设置：收银姓名
	 */
//	public void setShouyinxingming(String shouyinxingming) {
//		this.shouyinxingming = shouyinxingming;
//	}
	/**
	 * 获取：收银姓名
	 */
//	public String getShouyinxingming() {
//		return shouyinxingming;
//	}
	/**
	 * 设置：最近点击时间
	 */
	public void setClicktime(Date clicktime) {
		this.clicktime = clicktime;
	}
	/**
	 * 获取：最近点击时间
	 */
	public Date getClicktime() {
		return clicktime;
	}
	/**
	 * 设置：点击次数
	 */
	public void setClicknum(Integer clicknum) {
		this.clicknum = clicknum;
	}
	/**
	 * 获取：点击次数
	 */
	public Integer getClicknum() {
		return clicknum;
	}

}
